package dk.services;



import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(value="Dk-TokenServer")
public interface TokenService {
	@PostMapping(value="/GetIdByAdminToken")
	public Integer GetIdByAdmintoken(@RequestParam(name="token")String token);
	@PostMapping(value="/GetIdByToken")
	public Integer GetIdByToken(@RequestParam(name="token")String token);

}